<script lang="ts">
import {defineComponent} from 'vue'
export default defineComponent({
  name: 'MobileInput',
  props: {
    placeholder: {
      type: String,
      default: "请输入手机号"
    },
    showWordLimit: {
      type: Boolean,
      default: true
    }
  }
})
</script>
<template>
  <el-input :placeholder :maxlength="11" :show-word-limit="showWordLimit" v-bind="$attrs"></el-input>
</template>